@charset "utf-8";
/**
 * Created by younger on 2016/02/27.
 */

//三角形上
@mixin triangle($size:5px,$color:lighten(black,16)){
  content: '';
  display: block;
  position: absolute;
  border:$size solid transparent;
  border-bottom-color: $color;
}
@mixin triangleBottom($size:5px,$color:lighten(black,16)){
  content: '';
  display: block;
  position: absolute;
  border:$size solid transparent;
  border-top-color: $color;
}
@mixin triangleRight($size:5px,$color:lighten(black,16)){
  content: '';
  display: block;
  position: absolute;
  border:$size solid transparent;
  border-left-color: $color;
}